package com.fm.base.database.domain;

import org.joda.time.DateTime;

import java.io.InputStream;

/**
 * @author finalmachine
 */
public class DBFile {
    private Object id;
    private String filename;
    private InputStream inputStream;
    private long length;
    private String md5;
    private DateTime updateTime;

    public Object getId() {
        return id;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public InputStream getInputStream() {
        return inputStream;
    }

    public void setInputStream(InputStream inputStream) {
        this.inputStream = inputStream;
    }

    public long getLength() {
        return length;
    }

    public String getMd5() {
        return md5;
    }

    public DateTime getUpdateTime() {
        return updateTime;
    }
}
